<?xml version="1.0" encoding="UTF-8"?>
<!-- 
    Document   : LoginPage.jsp
    Created on : Abril 09 2010
    Author     : Alejo Gamboa B.
-->
<jsp:root version="2.0" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" xmlns:ice="http://www.icesoft.com/icefaces/component"
          xmlns:jsp="http://java.sun.com/JSP/Page" >
    <jsp:directive.page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"/>
    <f:view>
        <html id="outputHtml1">
            <head id="outputHead1">
                <ice:outputStyle href="./resources/stylesheet.css" id="outputStyle1"/>
                <ice:outputStyle href="./xmlhttp/css/xp/xp.css" id="outputStyle2"/>
                <script src="resources/js/falabella.js" type="text/javascript"></script>
            </head>
            <body id="outputBody1" style="-rave-layout: grid">
                <script type="text/javascript">
                    Ice.onSessionExpired('document:body', function() {
                        //alert('Session has expired!');
                        window.location.reload();
                    });
                </script>
                <ice:form autocomplete="off" id="form1">
                    <ice:outputConnectionStatus showPopupOnDisconnect="false"/>
                    <ice:panelGrid columnClasses="centerPosit" id="mainPG">
                        <ice:messages errorClass="errorMessage" fatalClass="fatalMessage" globalOnly="true" id="messages1" infoClass="infoMessage" showDetail="false" showSummary="true" warnClass="warnMessage"/>
                        <ice:panelLayout id="loginPG" styleClass="loginLoginPL">
                            <ice:panelGrid cellpadding="0" cellspacing="0" id="administrationConsoleGp1" style="left: 53px; top: 67px; position: absolute">
                                <ice:outputText id="administrationConsoleSt1"
                                    style="font-family: 'Verdana' 'Arial' 'Helvetica' sans-serif; font-size: 14px; font-weight: bold;" value="#{scope$SessionBean.labelsPropertyResourceProvider.value['consola.administrativa']}"/>
                            </ice:panelGrid>
                            <ice:panelGrid cellpadding="2" cellspacing="0" columns="3" id="loginGp" style="left: 130px; top: 150px; position: absolute">
                                <ice:outputLabel id="userIdLbl" style="font-family: 'Verdana' 'Arial' 'Helvetica' sans-serif; font-size: 12px; font-weight: bold;" value="#{scope$SessionBean.labelsPropertyResourceProvider.value['usuario']}"/>
                                <ice:inputText id="userIdTf" value="#{LoginPage.loginName}" required="false" style="width:115px" >
                                    <f:attribute name="label" value="#{scope$SessionBean.labelsPropertyResourceProvider.value['usuario']}" />
                                </ice:inputText>
                                <ice:message for="userIdTf" errorClass="errorMessage" fatalClass="fatalMessage"/>
                                <ice:outputLabel id="passwordLbl" style="font-family: 'Verdana' 'Arial' 'Helvetica' sans-serif; font-size: 12px; font-weight: bold;" value="#{scope$SessionBean.labelsPropertyResourceProvider.value['clave']}"/>
                                <ice:inputSecret id="pinPf" value="#{LoginPage.pin}" required="false" style="width:115px" >
                                    <f:attribute name="label" value="#{scope$SessionBean.labelsPropertyResourceProvider.value['clave']}" />
                                </ice:inputSecret>
                                <ice:message for="pinPf" errorClass="errorMessage" fatalClass="fatalMessage"/>
                                <br/>
                                <ice:commandButton action="#{LoginPage.ingresar}" id="logonBtn" styleClass="buttonsSize" value="#{scope$SessionBean.labelsPropertyResourceProvider.value['ingresar']}"/>
                            </ice:panelGrid>
                        </ice:panelLayout>
                    </ice:panelGrid>
                </ice:form>
            </body>
        </html>
    </f:view>
</jsp:root>